package com.zitangkou.user.req.user;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * 邮箱登录请求参数类
 *
 * @author Deng Ningning
 * @version 1.0
 * @date 2020/8/19 11:52
 */
@Data
@Accessors(chain = true)
public class EmailLoginReq {
    /**
     * 邮箱
     */
    @NotBlank(message = "邮箱不能为空")
    private String email;
    /**
     * 邮箱验证码
     */
    @NotBlank(message = "邮箱验证码不能为空")
    private String emailCode;
}
